package com.zp.mediator;/**
 * @description
 * @author zp
 * @created 2021/9/3 23:25
 */

/**
 * @author zp
 * @description
 * @created 2021/9/3 23:25
 */
public class User {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public User(String name){
        this.name  = name;
    }
    public void sendMessage(String message){
        ChatRoom.showMessage(this,message);
    }
}
